unit StarEncryptInterface;

interface

uses Classes;

type

  IStarEncrypt=interface
    ['{10703A6D-A4D5-43FC-BFB6-F7F0086D2B09}']
    function EncryptString(const Key,SrcStr:string; var OutStr:string):boolean;
    function DecryptString(const Key,SrcStr:string; var OutStr:string):boolean;
    function MD5(const SrcStr:string; var OutStr:string):boolean;
    function EncryptStream(InputStream, OutPutStream: TStream):boolean;
    function DecryptStream(InputStream, OutPutStream: TStream):boolean;
  end;

implementation

end.

